package com.dailyblue.project.estate.pet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Pet;
import com.dailyblue.project.estate.commons.bean.Repair;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface PetService extends IService<Pet> {
    //添加宠物
    JsonResult addPet(Pet pet);
    //查询单个宠物
    JsonResult findOnePet(String PetId);
    //查询所有宠物
    JsonResult findAllPets();
    //删除宠物
    JsonResult deletePet(String PetId);
    //修改宠物
    JsonResult updatePet(Pet pet);
}
